]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
workspaceThumbnail: Reduce maximum scale to 5%
authorGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Tue, 26 Jan 2021 00:09:53 +0000 (21:09 -0300)
committerMarge Bot <marge-bot@gnome.org>
Fri, 29 Jan 2021 15:01:03 +0000 (15:01 +0000)
As per design direction, reduce the maximum workspaces thumbnails to 5% of the
primary monitor size.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1593>

js/ui/workspaceThumbnail.js

index e238f2a1d47666b403c537669b7d63e0258906e9..ba9739dd9c019f4a202e34b16031d7ad187a28d4 100644 (file)
@@ -8,8 +8,8 @@ const DND = imports.ui.dnd;
 const Main = imports.ui.main;
 const Workspace = imports.ui.workspace;
 
-// The maximum size of a thumbnail is 1/10 the width and height of the screen
-var MAX_THUMBNAIL_SCALE = 1 / 10.;
+// The maximum size of a thumbnail is 5% the width and height of the screen
+var MAX_THUMBNAIL_SCALE = 0.05;
 
 var RESCALE_ANIMATION_TIME = 200;
 var SLIDE_ANIMATION_TIME = 200;